/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Database;

import AirLine.Seat;
import java.sql.SQLException;
import java.util.Hashtable;
import java.util.TreeSet;

/**
 *
 * @author Fredrik
 */
public class Seats extends DBObject{
    private TreeSet<Seat> seatsList = null;
    private Hashtable<String, Seat> seats = null;

    public Seats() {
        super();
    }

    public void update() throws SQLException  {
        connect();
        commit();
    }

    public void populate() throws SQLException  {
        if (seats == null || seatsList == null) {
            update();
        }
    }
}
